#pragma once

#include <QtWidgets/QWidget>
#include <string>
#include "ui_xdisk_gui.h"

class XDiskGUI : public QWidget
{
	Q_OBJECT

public:
	XDiskGUI(QWidget *parent = Q_NULLPTR);

	void UpdateServerInfo();
public slots:
	void Refresh();
	void UpdateDir(std::string dirs);
	void Upload();
	void Download();
	void DoanloadComplete();

private:
	Ui::XDiskGUIClass ui;
};
